#ifndef INPUT_H
#define INPUT_H

#include "scene.h"
#include "game.h"
#include <memory>
#include <map>
#include <string>

#include <SDL/SDL.h>

class CObject;

class CInput {

private:
    SDL_Event event;
    int mouse_x;
    int mouse_y;
    CScene *gamescene;
    bool gameover;    
    CObject *selected;

public:
    CInput();
    ~CInput();

    void Init();

    int GetMouseX();
    int GetMouseY();
    void update();
    void assignScene(CScene* scene);
    bool gameOver();
    int GetState();
    CObject* GetSelected();

};

#endif // INPUT_H
